package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * term 实体类
 *
 * @author zxf
 * @since 2025-07-26
 */
@Data
@ApiModel(value = "Term对象", description = "")
public class Term implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("法律ID")
    private Long lawsId;

    @ApiModelProperty("第几条")
    private String article;

    @ApiModelProperty("第几款")
    private String paragraph;

    @ApiModelProperty("第几项")
    private String subparagraph;

    @ApiModelProperty("第几目")
    private String item;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("是否删除")
    private String isDelete;

    /**
     * 法律名称
     */
    @TableField(exist = false)
    private String lawName;

    /**
     * 法律类型
     */
    @TableField(exist = false)
    private String lawType;
}
